﻿using UnityEngine;
using UnityEditor;
using System.IO;
using System.Xml;
using SLua;

public class UnityFunMenu
{
	//static string xbuildPath = "";

	//static string BuildOutPath = "";

	[MenuItem("UnityFun/编译dll并导出lua")]
	static public void  Build3rdDllAndWarplua()
	{
		if (LuaCodeGen.IsCompiling) {
			return;
		}
		//Clear3rdDll()

		//打开xbuild。。编译Assembly-CShaprp
		//重命名dll，复制到asset目录

		//Generate3rdDll()
		Debug.Log("编译dll并导出lua");
	}

	[MenuItem("UnityFun/检查各种Path")]
	static public void CheckPath()
	{
		//http://tieba.baidu.com/p/3233940618
		//http://www.xuanyusong.com/archives/3229
		//streamingAssets放 配置 AB

		//初次运行游戏，把saP复制到persP，增量更新替换
		//http://blog.csdn.net/v2x222/article/details/42836317
		Debug.Log (Application.dataPath);
		Debug.Log (Application.streamingAssetsPath);
		Debug.Log (Application.persistentDataPath);
	}

}
